package chpt10;

public class LoginDialogStarter {
	public static void main(String[] args) {
		LoginDialog loginDialog = new LoginDialog(null);
		loginDialog.setResizable(false);
        loginDialog.pack();
        loginDialog.setLocationRelativeTo(null); // 居中显示
        loginDialog.setVisible(true);
	}
}
